<!DOCTYPE HTML>
<html>
<head>
<title><?php echo $title_page; ?></title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=1024px, minimum-scale=1.0, maximum-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="<?php echo $metatag_page;?>" />
<script type="text/javascript">
	var pathRoot = '<?php echo $this -> Html -> url('/',true); ?>';
</script>
<?php
	echo $this -> Html -> css(array('jquery.mobile-1.1.0.min.css'));
	echo $this -> Html -> script(array('jquery.js', 'jquery.mobile-1.1.0.min.js'));
	//echo $this -> Html -> script(array('jquery.js'));
?>
<script type="text/javascript">
	/*function hideAddressBar()
	{
	  if(!window.location.hash)
	  {
	      if(document.height < window.outerHeight)
	      {
	          document.body.style.height = (window.outerHeight + 50) + 'px';
	      }
	
	      setTimeout( function(){ window.scrollTo(0, 1); }, 50 );
	  }
	}
	
	window.addEventListener("load", function(){ if(!window.pageYOffset){ hideAddressBar(); } } );
	window.addEventListener("orientationchange", hideAddressBar );*/
</script>
</head>
<body>
<?php echo $this -> fetch('content'); ?>
</body>
</html>